package org.xu.dao;

import org.apache.ibatis.annotations.Param;
import org.xu.entity.WorkFlowLogEntity;
import org.xu.request.WorkLogRequest;
import org.xu.request.WorkPageRequest;

import java.time.LocalDate;
import java.util.List;

public interface WorkFlowLogEntityExtMapper extends WorkFlowLogEntityMapper {
    List<WorkFlowLogEntity> selectAll();

    List<WorkFlowLogEntity> getByParams(WorkLogRequest request);

    List<WorkFlowLogEntity> pageQuery(WorkPageRequest request);

    List<WorkFlowLogEntity> listByDataId(@Param("dataId") String dataId);

    void deleteHistoryData(@Param("oldDate") LocalDate oldDate);
}
